﻿using Infrastructure.DDD;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace Application.Entities
{
    [Table("job_manager")]
    [Index(nameof(SysLogOperation.IsDelete))]
    public class SysManager : Entity
    {
        [Column(TypeName = "varchar(100)")]
        public string LoginCode { get; set; }
        [Column(TypeName = "varchar(100)")]
        public string Password { get; set; }
        [Column(TypeName = "varchar(100)")]
        public string UserName { get; set; }
        [Column(TypeName = "varchar(50)")]
        public string RoleKey { get; set; }
    }
}
